package com.itheima.序列化流;

import java.io.Serializable;

public class User implements Serializable {

  private static final long serialVersionUID=454654687L;

   private String username;
   private String password;

    public User(Object obj) {
    }

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
